package com.xx.permission.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 角色接口数据权限关联表
 * </p>
 *
 * @author aqi
 * @since 2023-06-08
 */
@Getter
@Setter
@TableName("sys_role_api_permission")
public class SysRoleApiPermission implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 角色ID
     */
    private Integer roleId;

    /**
     * 接口ID
     */
    private Integer apiId;

    /**
     * 数据权限
     */
    private String dataPermission;
}
